package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnBusiEsp;
import com.tjmc.tiomscore.model.TranPtnBusiEspExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnBusiEspMapper {
    long countByExample(TranPtnBusiEspExample example);

    int deleteByExample(TranPtnBusiEspExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnBusiEsp record);

    int insertSelective(TranPtnBusiEsp record);

    List<TranPtnBusiEsp> selectByExample(TranPtnBusiEspExample example);

    TranPtnBusiEsp selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnBusiEsp record, @Param("example") TranPtnBusiEspExample example);

    int updateByExample(@Param("record") TranPtnBusiEsp record, @Param("example") TranPtnBusiEspExample example);

    int updateByPrimaryKeySelective(TranPtnBusiEsp record);

    int updateByPrimaryKey(TranPtnBusiEsp record);
}